﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS_Entity.Entity
{
    /// <summary>
    /// 地图点位
    /// </summary>
    public class MapPositionEntity
    {
        /// <summary>
        /// ID
        /// </summary>
        [Display(Name = "任务ID")]
        [SugarColumn(ColumnDescription = "任务IDD", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// 区域编号
        /// </summary>
        [Display(Name = "区域编号")]
        [SugarColumn(ColumnDescription = "区域编号")]
        public string areaCode { get; set; }
        /// <summary>
        /// 仓位编号
        /// </summary>
        [Display(Name = "仓位编号")]
        [SugarColumn(ColumnDescription = "仓位编号")]
        public string binNumber { get; set; }
        /// <summary>
        /// 端口号
        /// </summary>
        [Display(Name = "端口号")]
        [SugarColumn(ColumnDescription = "端口号")]
        public string portNumber { get; set; }
        /// <summary>
        /// 地图编号
        /// </summary>
        [Display(Name = "地图编号")]
        [SugarColumn(ColumnDescription = "地图编号")]
        public string mapCode { get; set; }

        /// <summary>
        /// 在地图中的点位
        /// </summary>
        [Display(Name = "地图中的点")]
        [SugarColumn(ColumnDescription = "地图中的点")]
        public string mapPositionCode { get; set; }

        /// <summary>
        /// 预留字段1
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND1")]
        public string Extend1 { get; set; }

        /// <summary>
        /// 预留字段2
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND2")]
        public string Extend2 { get; set; }

        /// <summary>
        /// 预留字段3
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND3")]
        public string Extend3 { get; set; }

        /// <summary>
        /// 预留字段4
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND4")]
        public string Extend4 { get; set; }

        /// <summary>
        /// 预留字段5
        /// </summary>
        [SugarColumn(ColumnName = "EXTEND5")]
        public string Extend5 { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [SugarColumn(ColumnDescription = "创建时间")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.DateTime createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Display(Name = "更新时间")]
        [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
        public System.DateTime? updataTime { get; set; }
        /// <summary>
        /// 删除标志 有数据就是删除
        /// </summary>
        [Display(Name = "删除标志 有数据就是删除")]
        [SugarColumn(ColumnDescription = "删除标志 有数据就是删除")]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Boolean isDelete { get; set; }
    }
}
